package serova.valeriya.electricity;

import java.util.List;

public class UserInterface {

	public ApplicationMode getMode(List<ApplicationMode> availableModes) {
		if(UserDialog.isChoosedReportMode()) {
			return ApplicationMode.REPORT_MODE;
		}
		
		return ApplicationMode.BILL_MODE;
	}

	public void printError(String error) {
		System.out.println(error);
		
	}

}
